package org.grow.common.exception;

import com.sun.org.apache.bcel.internal.classfile.Code;

/**
 * @Author: xwg
 * @CreateDate: 2022/2/20
 */

/*
对接前端使用 el message 的异常显示 886 异常
* */
public class ElMessageException extends RuntimeException {
    private Integer code;

 /*   public ElMessageException(String message, Integer code) {
        super(message);
        this.code = code;
    }*/

    public ElMessageException(String message) {
        super(message);
        this.code=886;
    }

    public Integer getCode() {
        return code;
    }
}
